package com.woniu.atms.vo.pre.passenger;

import com.woniu.atms.entity.G5Passenger;
import lombok.Getter;
import lombok.Setter;

import javax.validation.constraints.Min;
import javax.validation.constraints.NotNull;

/**
 * @author 张杰
 * 乘车人分页查询视图
 */
@Getter
@Setter
public class PassengerPageVO {
    private G5Passenger g5Passenger;
    @NotNull(message = "页码不能为null")
    @Min(value = 1, message = "页面最少为1")
    private Integer pageNum;
    @NotNull(message = "页面大小不能为null")
    @Min(value = 1, message = "页面大小最少为1")
    private Integer pageSize;
}
